package com.ruoyi.supplier.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 验货对象 tb_check_product
 * 
 * @author ruoyi
 * @date 2021-07-02
 */
public class TbCheckProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long checkIdPk;

    /** 验货单号 */
    @Excel(name = "验货单号")
    private String checkNumber;

    /** 验货日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "验货日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date checkDate;

    /** 验货单状态 */
    @Excel(name = "验货单状态")
    private Integer checkStatus;

    /** 验货类型 */
    @Excel(name = "验货类型")
    private Long checkType;

    /** 进货总金额 */
    @Excel(name = "进货总金额")
    private BigDecimal totalAmount;

    /** 验货明细信息 */
    private List<TbCheckProductDetail> tbCheckProductDetailList;

    public void setCheckIdPk(Long checkIdPk) 
    {
        this.checkIdPk = checkIdPk;
    }

    public Long getCheckIdPk() 
    {
        return checkIdPk;
    }
    public void setCheckNumber(String checkNumber) 
    {
        this.checkNumber = checkNumber;
    }

    public String getCheckNumber() 
    {
        return checkNumber;
    }
    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public void setCheckType(Long checkType)
    {
        this.checkType = checkType;
    }

    public Long getCheckType() 
    {
        return checkType;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public List<TbCheckProductDetail> getTbCheckProductDetailList()
    {
        return tbCheckProductDetailList;
    }

    public void setTbCheckProductDetailList(List<TbCheckProductDetail> tbCheckProductDetailList)
    {
        this.tbCheckProductDetailList = tbCheckProductDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkIdPk", getCheckIdPk())
            .append("checkNumber", getCheckNumber())
            .append("checkDate", getCheckDate())
            .append("checkStatus", getCheckStatus())
            .append("checkType", getCheckType())
                .append("totalAmount", getTotalAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("tbCheckProductDetailList", getTbCheckProductDetailList())
            .toString();
    }
}
